/**
 * 
 */
package com.thor.palmmall.dao.elecharges;

import com.thor.commons.entity.OperateInfo;
import com.thor.commons.query.QueryResult;
import com.thor.commons.query2.QueryDefinition2;
import com.thor.palmmall.api.elecharges.EleChargesBill;

/**
 * @author NuoSa
 *
 * @since 1.0
 */
public interface EleChargesBillDao {

  /**
   * 创建电费充值单
   */
  public String saveEleChargesBill(PEleChargesBill chargesBillToSave, OperateInfo operateInfo);

  /**
   * 通过id获取电费充值单
   */
  public EleChargesBill getEleChargesBill(String uuid);

  /**
   * 查询电费充值单
   */
  public QueryResult<EleChargesBill> query(QueryDefinition2 definition);

  /**
   * @param billNumber
   * @return
   */
  public EleChargesBill getByBillNumber(String billNumber);
}
